package com.platform.usercenter.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 常用联系人通讯录对象 contact_frequent
 *
 * @author platform
 * @date 2023-10-08
 */
@Data
public class ContactFrequent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通讯录主键 */
    private Long contactId;

    /** 联系人id */
    @Excel(name = "联系人id")
    private Long userId;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String userName;

    /** 联系人邮箱 */
    @Excel(name = "联系人邮箱")
    private String userEmail;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String userPhone;

    /** 联系人所属部门 */
    @Excel(name = "联系人所属部门")
    private String userDept;

    /** 联系人性别 */
    @Excel(name = "联系人性别")
    private String sex;

    /** 联系人性别 */
    @Excel(name = "联系人头像")
    private String avatar;

    /** 联系人性别 */
    @Excel(name = "联系人中文名称")
    private String nickName;

    /** 是否删除  Y 删除 N未删除 */
    @Excel(name = "是否删除  Y 删除 N未删除")
    private String isDelete;

    /** 更新者 */
    @Excel(name = "更新者")
    private String deleteBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    private String onlineStatus;


}
